The Elder Scrolls IV: Oblivion
Cheat Codes & Secrets


Codes 
Console menu functions
While in the game, hit the tilde key [~] at any time to bring up the console. With the console open, there are multiple commands that can be used, some that require targeting by selecting an object with the mouse while the console is open.Code Effect 
Without targeting, type "tgm" God Mode 
Click any human or creature, type "kill" Instant kills 
tfh Toggle Full Help 
Click a locked door or chest, type "unlock" Unlocks target object 

Contributed By: Kazurin, Tele_O 
Unlock Print Screen (PRTSCN) button
There is a setting in the INI file:
bAllowScreenShot=0
change to:
bAllowScreenShot=1

Also, two related items for the screenshots:
iScreenShotIndex=0
SScreenShotBaseName=Oblivion

There are two INIs, one in the game folder called "Oblivion_default.ini", this is the one it uses to generate the REAL one....
My Documents\My Games\Oblivion\Oblivion.ini

Edit the first one if you want to default to having screenshots on by default for all users. The settings it uses at runtime are the ones from My Documents folder.

After you mod the INI file, you can press PRTSCN button and Oblivion will write a BMP file to your game folder.
Contributed By: Wolfiesden
 
Passwords 
Teleport anywhere instantly
You can teleport using the COC command.
Simply type "coc <location>" without the parenthesis.

If the location you wish to go to contains spaces, put parenthesis before and after the location name.





TeMpO Oblivion Console Cheats

To access the console, hit the ` key (above Tab).

ADD ITEM

In the editor, there's a FormID column that's next to the Editor ID column but collapsed -- you can drag to make it wider. Just write down the hexadecimal number of the ID you want to add, and then you can do player.additem 0001CFDB 1 (or whatever the ID is you're interested in).

So, player.additem followed by numeric form ID followed by # of items wanted.

Example: player.additem 00000F 100 would give you 100 pieces of gold.

CONSOLE COMMANDS

RunCellTest (rct) -- Runs a cell test

StartAllQuests (saq) -- Starts all quests

CompleteAllQuestStages (caqs) -- Sets all quest stages

FlushNonPersistActors (Flush) -- Deletes all the actors in High who are not persistent.

ToggleFogOfWar (TFOW) -- Turns fog of war on or off.

OutputLocalMapPictures (OLMP) -- Writes out the current local map.

SetGamma (sg) -- Sets new gamma ramp.

WasteMemory (wm) -- Allocates some memory (in MB).

ClearAdaptedLight (cal) -- Clears the HDR adapted light texture.

ShowSubSpaces (sss) -- Temporarily displays subspaces.

SetSTBBColorConstants (sscc) -- Show speedtree billboard color tweak constants.

SetTreeMipmapBias (stmp) -- Set mipmap LOD bias values for tree billboards.

----SCRIPT FUNCTIONS-------

GetActorValue (GetAV) -- Get an actor value. [player.getav luck]

SetActorValue (SetAV) -- Set an actor value. [player.setav luck, 75]

ModActorValue (ModAV) -- Modify an actor value. [player.modav luck, -10]

PlayGroup -- IE: PlayGroup SEQNAME 1

StartConversation -- Start a conversation. [Bob.StartConversation Joe, SecretTopic]

SetSize (CSize) -- Shrink/Grow an actor. [player.shrink 0.0 or radius]

SetCellPublicFlag (setpublic) -- Set public flag on cell. [setpublic MyCell 1]

GetDoorDefaultOpen -- Returns 1 if this door is open by default.

SetDoorDefaultOpen -- A value of 1 will make the door open by default.

SetOpenState -- A value of 1 will make the door open.

SetInChargen -- A value of 1 will be in chargen.

SetGhost -- A value of 1 will make the NPC act as a 'ghost'.

SetUnconscious -- A value of 1 will be unconscious.

GetUnconscious -- Returns 1 if is unconscious.

SetRestrained -- A value of 1 will be restrained.

GetRestrained -- Returns 1 if is restrained.

ForceFlee (Flee) -- Forces an actor to flee if destination or cell is passed in uses them.

ModPCFame -- Modifies the fame of player.

GetPCFame -- Returns the player's fame.

ModPCInfamy -- Modifies the infamy of player.

GetPCInfamy - Returns the players infamy.

SetPCFrame -- Set the player's fame to param.

SetPCInfamy -- Set the player's infamy to param.

SetWeather (sw) -- Sets the active weather to the specified type.

ForceTakeCover (TakeCover) -- Forces an actor to move away from the target actor.

ForceActorValue (ForceAV) -- Does modav xxx (value - getav xxx). [player.forceav luck 25]

ModPCSkill (ModPCS) -- Modify the player's skill [modpcs Blunt, 10]

ModPCAttribute (ModPCA) -- Modify an actor value [modpca luck, 10]

GetBaseActorValue (GetBaseAV) -- Get a base actor value. [player.getbaseav luck]

IsOwner -- Get the ownership of the ref.

IsCellOwner -- Get the ownership of the ref.

ForceWeather (fw) -- Forces the weather to the specified type, without transition.

SetScale -- Set the scale of an object.

ModScale -- Modify the scale of an object.

SetIgnoreFriendlyHits (sifh) -- Set whether an actor should ignore friendly hits (0-no, 1-yes)

GetIgnoreFriendlyHits (gifh) -- See if an actor is ignoring friendly hits.

God mode -> tgm

Toggle no clipping -> tcl

Lock selected door or container with indicated lock level ->lock <1-100>

Unlock selected locked door or container -> unlock

Kill selected NPC target; suicide if nothing is targeted ->kill

Add indicated amount of points to specified skill -> modpcs , 

Add indicated amount of points to indicated attribute -> modpca , 

Player.SetCrimeGold "X" - Sets the bounty

TAI (ToggleAI) - Turns off most AI behaviors.

Set Timescale to 1 - Realtime hours instead of the default timescale.

HOW TO ENABLE Print Screen SCREENSHOTS
Method by Lord Veldrin

You will need to modify 2 .ini files.

Head to your Oblivion folder on your hard-drive and find the file: Oblivion_default.ini.

Open it and search (Cntrl + F) for the line bAllowScreenShot=0.

Change the "0" to a "1" and you can now take screenshots via the PrtScn button.

The other file will be in My Documents\My Games\Oblivion\Oblivion.ini

Repeat the process: search for the line, change the 0 to 1 and you're done.